package com.ldp.designpatterns.study.bridge.demo1.abstractClass;

import com.ldp.designpatterns.study.bridge.demo1.impl.Color;
import lombok.Data;

/**
 * @ClassName Shape
 * @Description 桥接模式——// 抽象部分 - 形状类
 * @Author lindipei
 * @Date 2023/10/17 11:20
 */
@Data
public abstract class  Shape {

    protected Color color;

    public Shape(Color color){
        this.color = color;
    }

    public abstract  void draw();
}
